package com.itheima.demo10_抽象类练习;

public class Cook extends Employee{
    public Cook() {
    }

    public Cook(int id, String name, int salary) {
        super(id, name, salary);
    }

    @Override
    public void work() {
        System.out.println("烹饪");
    }
}
